package cn.cs.service;


import cn.cs.common.Page;
import cn.cs.pojo.AgentOrder;

import java.util.List;
import java.util.Map;

public interface AgentOrderService {


    public AgentOrder getAgentOrderById(String id) throws Exception;

    public List<AgentOrder> getAgentOrderListByMap(Map<String, Object> param) throws Exception;

    public Integer getAgentOrderCountByMap(Map<String, Object> param) throws Exception;

    public Integer addAgentOrder(AgentOrder agentOrder) throws Exception;

    public Integer modifyAgentOrder(AgentOrder agentOrder) throws Exception;

    public Integer deleteAgentOrderById(String id) throws Exception;

    public Page<AgentOrder> queryAgentOrderPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize) throws Exception;
}
